﻿
package extremefx.conditions {
	import extremefx.IEnumerable;
	import extremefx.conditions.CollectionValidator;	
			
	public function ensuresCollection(pValue:IEnumerable, pAdditionalMessage:String = null, pArgName:String = null):CollectionValidator {
		var v:CollectionValidator = new CollectionValidator(pValue, pArgName, pAdditionalMessage);
		v.setType(true);
		return v;
	}
}
